package com.roi.njzk_big_api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Jason
 * @since 2020-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BulbSwitch对象", description="")
public class BulbSwitch implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键Id")
    @TableId(value = "bulb_switch_id", type = IdType.AUTO)
    private Integer bulbSwitchId;

    @ApiModelProperty(value = "设备点地址")
    private String address;

    @ApiModelProperty(value = "设备点端号")
    private Integer endpointId;

    @ApiModelProperty(value = "设备点状态{0：Off（关闭），1：On（开启），2：切换}")
    private Integer state;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "名称2")
    private String name2;

    @ApiModelProperty(value = "类型")
    private String type;


}
